package com.tidy.seed.admin.system.mapper;

import com.tidy.seed.admin.system.entity.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tidy.seed.admin.system.vo.UserRoleVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author HZ-ZY
 * @since 2025-08-06
 */
public interface UserRoleMapper extends BaseMapper<UserRole> {

    List<UserRoleVO> findRolesByUserIds(@Param("userIds") List<Integer> userIds);
}
